export const state = () => ({
  couponId: undefined,
  verificationName: undefined,
  couponInfo:{}
})

export const mutations = {
  setCouponId(state,couponId){
    state.couponId = couponId
  },
  setVerificationName(state,verificationName){
    state.verificationName = verificationName
  },
  // 优惠券的所有数据
  setCouponInfo(state,obj){
    state.couponInfo = obj
  }
}